package com.ap.core.business.info;


/**
 * User: Ranjit.Singh
 * Value object to hold info about failed rule
 */
public class ValidationInfo {
		
	private String ruleDescription;	
	
	private String internalBusinessErrorCode;
	
	private String internalBusinessErrorDescription;
	
	private String externalBusinessErrorCode;
	
	private String externalBusinessErrorDescription;

	private Long exceptionDetailsId;
	
   public ValidationInfo(String internalBusinessErrorCode) {
		this.internalBusinessErrorCode = internalBusinessErrorCode;
	}

    public String getInternalBusinessErrorCode() {
        return internalBusinessErrorCode;
    }

    public String getRuleDescription() {
        return ruleDescription;
    }

	/**
	 * @return the internalBusinessErrorDescription
	 */
	public String getInternalBusinessErrorDescription() {
		return internalBusinessErrorDescription;
	}

	/**
	 * @return the externalBusinessErrorCode
	 */
	public String getExternalBusinessErrorCode() {
		return externalBusinessErrorCode;
	}

	/**
	 * @return the externalBusinessErrorDescription
	 */
	public String getExternalBusinessErrorDescription() {
		return externalBusinessErrorDescription;
	}

	/**
	 * @param ruleDescription the ruleDescription to set
	 */
	public void setRuleDescription(String ruleDescription) {
		this.ruleDescription = ruleDescription;
	}

	/**
	 * @param internalBusinessErrorDescription the internalBusinessErrorDescription to set
	 */
	public void setInternalBusinessErrorDescription(
			String internalBusinessErrorDescription) {
		this.internalBusinessErrorDescription = internalBusinessErrorDescription;
	}

	/**
	 * @param externalBusinessErrorCode the externalBusinessErrorCode to set
	 */
	public void setExternalBusinessErrorCode(String externalBusinessErrorCode) {
		this.externalBusinessErrorCode = externalBusinessErrorCode;
	}

	/**
	 * @param externalBusinessErrorDescription the externalBusinessErrorDescription to set
	 */
	public void setExternalBusinessErrorDescription(
			String externalBusinessErrorDescription) {
		this.externalBusinessErrorDescription = externalBusinessErrorDescription;
	}

	/**
	 * @return the exceptionDetailsId
	 */
	public Long getExceptionDetailsId() {
		return exceptionDetailsId;
	}

	/**
	 * @param exceptionDetailsId the exceptionDetailsId to set
	 */
	public void setExceptionDetailsId(Long exceptionDetailsId) {
		this.exceptionDetailsId = exceptionDetailsId;
	}
	
}
